﻿using System.Configuration;

namespace Web_App___AWS_ELB_Monitor
{
    public static class CustomValueHelper
    {
        public static bool CacheEnable
        {
            get { return false; }
        }

        public static string GetProperty(string propertyAlias)
        {
            switch (propertyAlias)
            {
                case "AWSAccessKey":
                    return ConfigurationManager.AppSettings["AWS.AccessKey"];
                case "AWSSecretKey":
                    return ConfigurationManager.AppSettings["AWS.SecretKey"];
                default:
                    return null;
            }
        }
    }
}